package com.rerun.entity.vo;

import com.rerun.entity.SysMenu;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 菜单树
 *
 * @author Gaojun.Zhou
 * @date 2016年12月26日 上午10:34:31
 */
public class TreeMenu implements Serializable{

	/**
	* @Fields serialVersionUID : TODO()
	*/
	
	private static final long serialVersionUID = 1L;
	/**
	 * 菜单
	 */
	private SysMenu sysMenu;
	/**
	 * 子菜单
	 */
	private List<TreeMenu> children = new ArrayList<TreeMenu>();

    /**
     * Gets sys menu.
     *
     * @return the sys menu
     */
    public SysMenu getSysMenu() {
		return sysMenu;
	}

    /**
     * Sets sys menu.
     *
     * @param sysMenu the sys menu
     */
    public void setSysMenu(SysMenu sysMenu) {
		this.sysMenu = sysMenu;
	}

    /**
     * Gets children.
     *
     * @return the children
     */
    public List<TreeMenu> getChildren() {
		return children;
	}

    /**
     * Sets children.
     *
     * @param children the children
     */
    public void setChildren(List<TreeMenu> children) {
		this.children = children;
	}
	
	
}
